
import { defineStore } from 'pinia'

export const useUserStore = defineStore('user', {
    state: () => ({
        class_: '',
        tableData_: [] as projectItem[],
        show_: true,
        classList: ["DAF57", "BIF66"]
    }),
    getters: {
        className: (state) => state.class_,
        tableData: (state) => state.tableData_,
        show: (state) => state.show_
    }
})

interface projectItem {
    num: string,
    name: string,
    project: string,
    skill: string
}
